package cn.iocoder.yudao.module.shop.revenue.api;

import cn.iocoder.yudao.module.api.shop.revenue.ShopRevenueApi;
import cn.iocoder.yudao.module.api.shop.revenue.vo.MerchantRevenueCountVO;
import cn.iocoder.yudao.module.shop.revenue.service.core.CoreRevenueService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/04/30
 */
@Service
@Validated
public class ShopRevenueApiImpl implements ShopRevenueApi {
    @Resource
    private CoreRevenueService coreRevenueService;

    @Override
    public MerchantRevenueCountVO getRevenueCount(Long shopId) {
        return coreRevenueService.getRevenueCount(shopId);
    }

}
